package models

import "tuowei.com/common/models"

type SysInviteRecord struct {
	models.Model
	InviteId   int     `json:"invite_id" gorm:"type:int(10);comment:邀请人ID"`
	InviteesId int     `json:"invitees_id" gorm:"type:int(10);comment:被邀请人ID"`
	InviteType int     `json:"invite_type" gorm:"type:tinyint(1);comment:邀请类型：1=>老师 2=>学生"`
	Num        float32 `json:"num" gorm:"type:decimal(10,2);comment:邀请获得的奖励数字"`
	models.ControlBy
	models.ModelTime
}

func (SysInviteRecord) TableName() string {
	return "sys_invite_record"
}
